package cn.wolfcode.crm.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

@ToString
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private Long id;
    private String name;
    private String password;
    private String email;
    private Integer age;
    private boolean admin;
    private boolean status = true;
    private Department dept;
    // 携带角色属性
    private List<Role> roleList = new ArrayList<>();



}